//
//  PagingProtocol.swift
//  YTImgeViewer
//
//  Created by aron on 2018/5/25.
//

import Foundation


/// 分页插件协议
public protocol YTPagingProtocol {
    // Viewer viewDidLoad方法执行完成，处理分页指示器初始化和添加到YTImageViewerController上
    func imageViewer(_ imageViewe: YTImageViewerController, viewDidLoad: Bool);
    // Viewer viewDidLayoutSubView方法执行完成，处理分页指示器布局
    func imageViewer(_ imageViewe: YTImageViewerController, viewDidLayoutSubView: Bool);
    // Viewer 页面切换完成，处理分页指示器改变位置
    func imageViewer(_ imageViewe: YTImageViewerController, setCurrentPage currentPage: Int, numberOfPages: Int);
}
